<!--事项材料显示区------------------------------>
<nz-card *ngIf="show">
  <div class = "sxcl_bt" style="line-height: 40px;">
  {{bt_mc}}
  <div style="text-align:right;padding-right:5px;padding-left: 5px;display: block;float: right;">
    <button nz-button type="submit" [nzType]="'primary'" (click)= "ryquery()" title= "下一步">
      <i nz-icon nzType="arrow-right"></i>
    </button> 
  </div>
</div>

<!---->
<div *ngIf="this.sxDAD011!==undefined">
  <div *ngIf="this.sxDAD011!=1">
    <lb-zskcx #zskcx [nzVisible]="true" [DAD017]="this.dad017"></lb-zskcx>
  </div>
  <div *ngIf="this.sxDAD011==1">

    <div *ngIf="dataVisible===true">
          {{initZsxData()}}
    </div>
    <div class="zsxDiv" nz-row>
      <div class="zsxListItem" nz-col [nzSpan]="8" *ngFor="let item of zsxList">
        <a (click)="showZskcxTc(item.DAD017)">
          <div class="zsxListItemText">
            <div class="textHidden">
              {{item.DAD031}}
            </div>
          </div>
        </a>
        
      </div>
    </div>
    <nz-modal [(nzVisible)]="zskcxTcVisible"  (nzOnCancel)="zskcxTcCancel()" [nzFooter]="null"nzWidth="1000">
      <lb-zskcx #zskcxTc *ngIf="zskcxTcDad017!==undefined" [nzVisible]="true" [DAD017]="zskcxTcDad017"></lb-zskcx>
    </nz-modal>

  </div>
</div>



 </nz-card>
 <!--
<nz-card *ngIf="show">
  <div class = "sxmc" >
    {{dad031}}
  </div>
  <div class="tysj_item_wrap" >
    
  <div class="inner_wrap" >
  <div class="main_title" *ngFor="let mainItem of dataset " >
    
    
         {{ mainItem.SEQ }}、{{ mainItem.DAD029 }} 
    </div>
  </div>
</div>
</nz-card> -->

<!----------------------------事项材料显示区结束------------------------------------------->

<!--------------------------------申报信息--------------------------->
<nz-card *ngIf="sbxxshow">
  <div class = "sxcl_bt" style="line-height: 40px;">
  {{bt_mc}}
  <div style="text-align:right;padding-right:5px;padding-left: 5px;display: block;float: right;">
    <button nz-button type="submit" [nzType]="'default'" (click)= "returnone()"  title= "上一步">
      <i nz-icon nzType="arrow-left"></i>
    </button>
    <button nz-button type="submit" [nzType]="'primary'" (click)= "nextone()"  title= "下一步">
      <i nz-icon nzType="arrow-right"></i>
    </button> 
    <button nz-button type="submit" [nzType]="'default'" (click)= "delete()" title= "删除"> 
      <i nz-icon nzType="delete"></i>
    </button> 
    <button nz-button type="submit" [nzType]="'default'" (click)= "queryjk04()" title= "查询错误"> 
      <i nz-icon nzType="search"></i>
    </button> 
  </div>

</div>
</nz-card>

<!--申报信息校验不通过原因显示-->
<nz-card  *ngIf="jyshow" >
  <lb-grid #errst  [columns]="errcolumns" [sname] = "'ERR_QUERY'" [queryparas] = "errparas"  ></lb-grid>
</nz-card>

<nz-card *ngIf="sbxxshow">
  
  <div >
    <div>
      <sf #sbxx  [schema]="sbxxSchema" [formData]="formdata" [button]="null" nzOkText="确定">
      </sf>
    </div>
    <buss-form #bf [formData]="bfform" ></buss-form>
  </div>
</nz-card>



<!------------------------------------申报信息结束------------------------------------------->


<!------------------------------------材料收件---------------------------------------------->
<nz-card *ngIf="clsmshow">
  <div class = "sxcl_bt" style="line-height: 40px;" nz-row>
    <div nz-col nzSpan="8">
      {{bt_mc}}
    </div>
    <div nz-col nzSpan="8" style="color: red;text-align:right;">
      {{sccl}}
    </div>
    
    <div nz-col nzSpan="8" style="text-align:right;padding-right:5px;padding-left: 5px;display: block;float: right;">
      
      <button nz-button type="submit" [nzType]="'default'" (click)= "returntwo()"   title= "上一步">
        <i nz-icon nzType="arrow-left"></i>
      </button>
      <button nz-button type="submit" [nzType]="'primary'" (click)= "nexttwo()"   title= "下一步">
        <i nz-icon nzType="arrow-right"></i>
      </button> 
      <button nz-button type="submit" [nzType]="'default'" (click)= "delete()"   title= "删除">
        <i nz-icon nzType="delete"></i>
      </button> 
    </div>
  
  </div>

</nz-card>
<nz-layout *ngIf="clsmshow" >
  <div nz-row>
    <div nz-col nzSpan="12">
    <div *ngFor="let item of sxData.sbcl;let i=index">
      <div nz-row>
      <div nz-col nzSpan="6">{{i+1}}、{{item.DAD087}}</div>
      <!-- <nz-checkbox-group [(ngModel)]="item.sbclCheckGroup" (ngModelChange)="log(i)"></nz-checkbox-group> -->
      <div nz-col nzSpan="6" *ngFor="let ck of item. sbclCheckGroup;let cki=index" style="margin-bottom: 12px;">
        <label nz-checkbox  [(ngModel)]="ck.checked">{{ck.label}}</label>
      </div>
    </div>
    </div>
    <div style="margin-bottom: 12px;">
      <button nz-button nzType="primary"  nzShape="round" (click)="clcx()">确定</button>
      <button nz-button nzType="default"  nzShape="round" (click)="clcz()">重置</button>
    </div>
    <div>
      <st [data]="dataset" bordered="true" [columns]="clsmcolumns" (change)="_click($event)" [page]="page"></st>
      
    </div>
  </div>
  <!--
  <nz-sider [nzWidth]="500">
    <div style="background-color: #fff;padding:5px;height: 400px;overflow: auto;">
      <st [data]="dataset" [columns]="clsmcolumns" (change)="_click($event)" [page]="page"></st>
    </div>
  </nz-sider>
  -->
  <div nz-col nzSpan="12">
  <nz-content>
    <div style="padding: 5px;background-color:#fff;height: 400px;">
      
      <lb-wjfw #wjfw [param]="paras" [snames]= "Sname" (addDone)="addDone($event)" ></lb-wjfw>
      
    </div>
  </nz-content>
</div>
  
</div>
</nz-layout>

<!------------------------------------材料收件结束---------------------------------------------->


<!--弹窗  打开人员信息查询页面-->
<nz-modal  [(nzVisible)]="isVisible" [nzTitle]="biaoti" (nzOnCancel)="handleCancel('cx')" nzWidth="1000">
  <sf #sf1   [schema]="jbxxSchema"   [button]="null"  layout="inline" >
      <button nz-button type="submit" [nzType]="'primary'" (click)="jbxxcx()" >
        <i nz-icon nzType="search"></i>查询
      </button> 
      <button nz-button type="submit" [nzType]="'primary'" (click)="xzjbxx()" >
        <i nz-icon nzType="plus"></i>新增
      </button> 
      
  </sf>
  <lb-grid  #st  [columns]="columns" [sname] = "params.sname" [queryparas]="params.queryparas" >
  
</lb-grid>
<div *nzModalFooter>
  <button nz-button nzType="default" (click)="handleCancel('cx')">取消</button>
  <button nz-button nzType="primary" (click)="handleOkAdd()">确定</button>
</div>


</nz-modal>

<!--弹窗  打开单位信息查询页面-->
<nz-modal  [(nzVisible)]="isDwVisible" [nzTitle]="biaoti" (nzOnCancel)="handleCancel('dwcx')" nzWidth="1000">
  <sf #sf2   [schema]="dwjbxxSchema"   [button]="null"  layout="inline" >
      <button nz-button type="submit" [nzType]="'primary'" (click)="jbxxcx()" >
        <i nz-icon nzType="search"></i>查询
      </button> 
      <button nz-button type="submit" [nzType]="'primary'" (click)="xzjbxx()" >
        <i nz-icon nzType="plus"></i>新增
      </button> 
      
  </sf>
  <lb-grid  #st1  [columns]="dwcolumns" [sname] = "params.sname" [queryparas]="params.queryparas" >
  
</lb-grid>
<div *nzModalFooter>
  <button nz-button nzType="default" (click)="handleCancel('dwcx')">取消</button>
  <button nz-button nzType="primary" (click)="handleOkAdd()">确定</button>
</div>


</nz-modal>


<!--弹窗  新增人员基本信息-->
<nz-modal [(nzVisible)]="isAddVisible" nzTitle="基本信息" (nzOnCancel)="handleCancel('xz')" nzWidth="1000">
  <sf #xzxx [schema]="xzxxSchema"  [button]="null" nzOkText="确定">
  </sf>
  <div *nzModalFooter>
    <button nz-button nzType="default" (click)="handleCancel('xz')">取消</button>
    <button nz-button nzType="primary" (click)="handleOkAdd()">确定</button>
  </div>
</nz-modal>

<!--弹窗  新增单位基本信息-->
<nz-modal [(nzVisible)]="isDwAddVisible" nzTitle="基本信息" (nzOnCancel)="handleCancel('dwxz')" nzWidth="1000">
  <sf #dwxz [schema]="dwxzSchema"  [button]="null" nzOkText="确定">
  </sf>
  <div *nzModalFooter>
    <button nz-button nzType="default" (click)="handleCancel('dwxz')">取消</button>
    <button nz-button nzType="primary" (click)="handleOkAdd()">确定</button>
  </div>
</nz-modal>

<!--弹窗  一件事事项选择子事项-->
<nz-modal [(nzVisible)]="isYjsVisible" nzTitle="子事项选择" (nzOnCancel)="handleCancel('yjs')" nzWidth="500">
  
<sf #yjs [schema]="yjsSchema"  [formData]="yjsformdata" [button]="null" nzOkText="确定">
</sf>
<div *nzModalFooter>
  <button nz-button nzType="default" (click)="handleCancel('yjs')">取消</button>
  <button nz-button nzType="primary" (click)="yjs_add()">确定</button>
</div>
</nz-modal>

<!--弹窗  打印窗口-->
<nz-card *ngIf="printshow">
  <iframe #iframe width="840" height="660" frameborder="0" [src]="ifrmeee"></iframe>
</nz-card>

<!-- 作废弹出窗口-->
<nz-modal [(nzVisible)]="isDjVisible" [nzWidth]="500" [nzFooter]="null" (nzOnCancel)="handleDjCancel()">
  
  <app-tyjb-djxx [dad069]="DAD069" [dad017] = "dad017" [dad075] = "dad075"></app-tyjb-djxx>

</nz-modal>






  
